package com.prawn.trace.record.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="trace_record_sale")
public class RecordSale implements Serializable{

	@Id
	private String id;//id


	
	private String name;//商品名称
	private String produceBatchId;//销售的目标产产品批次id
	private Double price;//销售单价（元）
	private java.util.Date saleTime;//销售时间
	private String salePerson;//销售人
	private String saleCompany;//销售商家（可引用场地中的信息）
	private String processId;//所属的生产流程id
	private Integer warehouse;//库存
	private String saleWay;//销售方式
	private Integer daypersent;//每天销售数量
	private Integer saleCount;//销售总量
	private String remarks;//备注信息
	private String updateBy;//更新者
	private java.util.Date updateDate;//更新时间
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间
	private String delFlag;//删除标记（虚拟删除，并不删除数据库表数据，0：正常，1：删除）

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getProduceBatchId() {		
		return produceBatchId;
	}
	public void setProduceBatchId(String produceBatchId) {
		this.produceBatchId = produceBatchId;
	}

	public Double getPrice() {		
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}

	public java.util.Date getSaleTime() {		
		return saleTime;
	}
	public void setSaleTime(java.util.Date saleTime) {
		this.saleTime = saleTime;
	}

	public String getSalePerson() {		
		return salePerson;
	}
	public void setSalePerson(String salePerson) {
		this.salePerson = salePerson;
	}

	public String getSaleCompany() {		
		return saleCompany;
	}
	public void setSaleCompany(String saleCompany) {
		this.saleCompany = saleCompany;
	}

	public String getProcessId() {		
		return processId;
	}
	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public Integer getWarehouse() {		
		return warehouse;
	}
	public void setWarehouse(Integer warehouse) {
		this.warehouse = warehouse;
	}

	public String getSaleWay() {		
		return saleWay;
	}
	public void setSaleWay(String saleWay) {
		this.saleWay = saleWay;
	}

	public Integer getDaypersent() {		
		return daypersent;
	}
	public void setDaypersent(Integer daypersent) {
		this.daypersent = daypersent;
	}

	public Integer getSaleCount() {		
		return saleCount;
	}
	public void setSaleCount(Integer saleCount) {
		this.saleCount = saleCount;
	}

	public String getRemarks() {		
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getUpdateBy() {		
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public java.util.Date getUpdateDate() {		
		return updateDate;
	}
	public void setUpdateDate(java.util.Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public String getDelFlag() {		
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}


	
}
